@import '@/app/styles/variables';

.container {
  max-width: 1440px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin: 0 auto;
  gap: 32px;
  padding-top: 112px;
  padding-bottom: 56px;
}

.block {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 4px;

  font-weight: 400;
  font-size: 14px;
  line-height: 20px; /* 142.857% */

  & > a {
    text-decoration: none;
    color: #288bff;
  }
}

.links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.appleIcon > svg {
  position: relative;
  top: -1.8px;
}

.linkButton {
  padding: 15px;
  border-radius: 20px;
  font-size: 32px;
  border-width: 1px;
}

.parallaxContainer {
  height: 950px;
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 100%;
  user-select: none;
  pointer-events: none;
}

.parallaxItem {
  &:nth-child(1) {
    z-index: 2;
    right: 1473px;
    bottom: 278px;
  }
  &:nth-child(2) {
    z-index: -1;
    right: 790px;
    bottom: -405px;
  }
  &:nth-child(3) {
    z-index: 2;
    right: 190px;
    bottom: 175px;
  }
}

@include media(lg) {
  .parallaxItem {
    &:nth-child(1) {
      right: initial;
      left: 50px;

      width: 207px;
      height: 207px;
    }
    &:nth-child(2) {
      right: initial;
      left: 160px;
    }
    &:nth-child(3) {
      right: 70px;
    }
  }
}

@include media(md) {
  .parallaxItem {
    &:nth-child(1) {
      left: 30px;
    }
    &:nth-child(2) {
      left: 146px;
      bottom: -397px;
    }
    &:nth-child(3) {
      right: 70px;
      width: 100px;
      height: 105px;
    }
  }
}

@include media(sm) {
  .text {
    font-size: 12px;
    line-height: 16px;
  }

  .parallaxItem {
    &:nth-child(1) {
      right: 897px;
      left: initial;
      bottom: 318px;

      width: 100px;
      height: 100px;
    }
    &:nth-child(2) {
      right: 349px;
      left: initial;
      bottom: -290px;

      width: 585px;
      height: 668px;

      object-fit: contain;
    }
    &:nth-child(3) {
      right: 92px;
      bottom: 197ox;

      width: 100px;
      height: 100px;
    }
  }
}

@include media(xs) {
  .container {
    padding-top: 56px;
    padding-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .links {
    gap: 10px;
  }

  .text {
    max-width: 249px;
  }

  .parallaxContainer {
    display: none;
  }
}
